home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @@;
-
-
- 1.2
- date 88.12.30.09.33.58; author ouster; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.12.21.15.16.59; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.2
- log
- @More format upgrades.
- @
- text
- @' $Header: /a/newcmds/kill/RCS/kill.man,v 1.1 88/12/21 15:16:59 ouster Exp Locker: ouster $ SPRITE (Berkeley)
- .so \*(]ltmac.sprite
- .HS KILL cmds
- .BS
- .SH NAME
- kill \- Send a signal to a process or group
- .SH SYNOPSIS
- \fBkill\fR [\fIoptions\fR] \fIpid pid ...\fR
- .SH OPTIONS
- .IP "\fB\-g\fR" 15
- Treat each \fIpid\fR as the name of a process group rather than a process,
- and send the given signal to the entire group.
- .IP "\fB\-help\fR" 15
- Print a summary of the command-line options and exit without sending
- any signals.
- .IP "\fB\-l\fR" 15
- Print out a list of valid signal names and
- exit without sending any signals.
- .IP "\fB\-\fIsignal\fR" 15
- Send \fIsignal\fR to the given processes. \fISignal\fR may be either
- a number or a symbolic name. The legal names are the same as the
- names from the <signal.h> include file, except without the ``SIG''
- prefix. \fISignal\fR defaults to \fBTERM\fR.
- .BE
-
- .SH DESCRIPTION
- .LP
- This command sends a signal (usually a SIGTERM kill signal) to
- one or more processes. Depending on how the processes have
- arranged for the signal to be handled, the processes may exit,
- enter the debugger, ignore the signal altogether, or execute a
- handler procedure within the process. In the default case where
- the SIGTERM signal is used, the normal result is for the process
- to exit.
- See the \fBsigvec\fR manual page for more details on signal handling.
- .LP
- Note: The C-shell (csh) contains a built-in command \fBkill\fR that
- behaves almost identically to this command (it doesn't support the
- \fB\-g\fR or \fB\-help\fR options, but is otherwise the same). If you
- are running the C-shell and type \fBkill\fR, you will get the built-in
- command: to get the program version, invoke \fBkill\fR by typing its
- absolute path name.
-
- .SH "SEE ALSO"
- sigvec
-
- .SH KEYWORDS
- group, kill, process, signal
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d1 1
- a1 1
- ' $Header: /sprite/doc/ref/cmds/RCS/kill,v 1.2 88/10/21 17:50:42 ouster Exp $ SPRITE (Berkeley)
- d10 1
- a10 1
- .IP "\fB-g\fR" 15
- d13 1
- a13 1
- .IP "\fB-help\fR" 15
- d16 1
- a16 1
- .IP "\fB-l\fR" 15
- d19 1
- a19 1
- .IP "\fB-\fIsignal\fR" 15
- d39 3
- a41 3
- \fB-g\fR or \fB-help\fR options, but is otherwise the same). If you
- are running the C-shell and type ``kill'', you will get the built-in
- command: to get the program version, invoke Kill by typing its
- @
-